<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.ajax4jsf.org/rich" xml:lang="en">
<head>
<title>office信息查看</title>
<meta http-equiv="keywords" content="enter,your,keywords,here" />
<meta http-equiv="description"
	content="A short description of this page." />
<link href="#{facesContext.externalContext.requestContextPath}/css/public.css" rel="stylesheet" type="text/css"
	media="screen" />
<link href="#{facesContext.externalContext.requestContextPath}/css/main.css" rel="stylesheet" type="text/css"
	media="screen" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<!-- rich:message style-->
<style type="text/css">
	.rich-message-label{
		color:red;
	}
</style>
</head>
<body style="background-color: #ffffff">
<h:form>
	<div id="right">
	<div id="msgid" class="error pt10p bcf c0 tal" style="display:">
		<a4j:outputPanel  id="msgPaneladd">
		<center>
			<h:outputText styleClass="cff" value="#{OfficeinfBB.msg}" />
		</center>
	</a4j:outputPanel>
	</div>
	<div class="tablelist">
	<table width="100%" border="1" cellpadding="0" cellspacing="0"
		bordercolor="#c3c3c3" style="border-collapse: collapse">
		<tr>
			<td>
			<span class="cff">*</span>分类名称
			<h:inputText id="tp_classname" class="style_input" value="#{OfficeinfBB.officeInf.office_name}" disabled="true">
			</h:inputText>
			<span class="cff"> <rich:message for="tp_classname"
					showSummary="true" showDetail="false" /> </span>
			</td>
			<td>父类名称<h:selectOneMenu
							class="style_input" value="#{OfficeinfBB.officeInf.office_super}" disabled="true">
							<f:selectItem itemValue="0" itemLabel="" />
							<f:selectItems value="#{otherParamBB.selectItems_officeInfId}" />
						</h:selectOneMenu></td>
		</tr>
		
		<tr>
			<td>固定电话<h:inputText id="phone" class="style_input" value="#{OfficeinfBB.officeInf.phone}" disabled="true">
				<f:validateLength maximum="50" />
				<rich:ajaxValidator event="onblur"/>
			</h:inputText>
			<span class="cff"> <rich:message for="phone"
					showSummary="true" showDetail="false" /> </span></td>
			<td>邮编<h:inputText id="postalCode" class="style_input" value="#{OfficeinfBB.officeInf.postalCode}" disabled="true">
				<f:validateLength maximum="50" />
				<rich:ajaxValidator event="onblur"/>
			</h:inputText>
			<span class="cff"> <rich:message for="postalCode"
					showSummary="true" showDetail="false" /> </span></td>
		</tr>
		<tr>
			<td>传真
			<h:inputText id="fax" class="style_input" value="#{OfficeinfBB.officeInf.fax}" disabled="true">
				<f:validateLength maximum="50" />
				<rich:ajaxValidator event="onblur"/>
			</h:inputText>
			<span class="cff"> <rich:message for="fax"
					showSummary="true" showDetail="false" /> </span>
			</td>
			<td>邮件<h:inputText id="email" class="style_input" value="#{OfficeinfBB.officeInf.email}" disabled="true">
				<f:validateLength maximum="50" />
				<rich:ajaxValidator event="onblur"/>
			</h:inputText>
			<span class="cff"> <rich:message for="email"
					showSummary="true" showDetail="false" /> </span></td>
		</tr>
		<tr>
			<td>IATACODE
				<h:inputText id="iataCode" class="style_input" value="#{OfficeinfBB.officeInf.iataCode}" disabled="true">
				</h:inputText>
			</td>
			<td>应用系统名称
				<h:inputText id="sys_id" class="style_input" value="#{OfficeinfBB.officeInf.sys_id}" disabled="true">
				</h:inputText>
			</td>
		</tr>
		<tr>
			<td colspan="2"><span class="cff">*</span>地址<label>
			<h:inputTextarea id="office_address" value="#{OfficeinfBB.officeInf.office_address}" class="style_textarea" 
			required="true" disabled="true">
			</h:inputTextarea> </label></td>
		</tr>
		<tr>
			<td colspan="2"><span class="cff">*</span>描述<label>
			<h:inputTextarea id="descri" value="#{OfficeinfBB.officeInf.descri}" class="style_textarea" 
			required="true" readonly="true">
			</h:inputTextarea> </label></td>
		</tr>
		<tr>
			<td colspan="2"><span class="cff">*</span>备注 <label> <h:inputTextarea id="remark"
				value="#{OfficeinfBB.officeInf.remark}" class="style_textarea" readonly="true">
				</h:inputTextarea> </label></td>
		</tr>
	</table>
	</div>
	<div class="listbut" >
		<h:commandButton styleClass="buttonbg" value="返回" action="#{OfficeinfBB.toBack}" immediate="true"/>
    </div>
	</div>
</h:form>
</body>
</html>

